bootEditionConfig = {
    isDist: true,
    staticPath: '../static/',
    version: ''
};
var staticPath = bootEditionConfig.staticPath + bootEditionConfig.version;


var cssPathArr = [
    "/css/base.css",
    "/plugins/font-awesome/css/font-awesome.css",
    "/css/animate.min.css",
    "https://cdn.bootcss.com/toastr.js/latest/css/toastr.css",
    "/plugins/dragslider/dragslider.css",
    "/plugins/swiper/swiper.min.css",
    "/layout/login/login_layout.css",
    "/layout/login/login.css"
];
for (i = 0; i < cssPathArr.length; i++) {
    var curPath = cssPathArr[i];

    if (cssPathArr[i].indexOf('http') == -1 && cssPathArr[i].indexOf('//') == -1) {
        curPath = staticPath + curPath;
    }

    document.write('<link href="@realPath" rel=\"stylesheet\">'.replace('@realPath', curPath));
}




var jsPathArr = [
    "/js/jquery.js",
    "/js/jquery.backstretch.min.js",
    "/plugins/dragslider/dragslider.min.js",
    "/plugins/iview/vue.min.js",
    "https://cdn.bootcss.com/toastr.js/latest/js/toastr.min.js",
    "https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js",
    'https://cdn.bootcss.com/json2/20160511/json2.min.js',
    '/plugins/swiper/swiper.min.js',
    '/layout/login/login.js',
    '/layout/login/login_common.js'
];
for (i = 0; i < jsPathArr.length; i++) {
    var curPath = jsPathArr[i];

    if (jsPathArr[i].indexOf('http') == -1 && jsPathArr[i].indexOf('//') == -1) {
        curPath = staticPath + curPath;
    }

    document.write('<script src="@realPath"></script>'.replace('@realPath', curPath));
}